local restful = {
    v1={},
    v={}
}

restful.v.GET = {
    {pattern = '/user/:userid', controller = 'userRestful', action = 'get'},
}

restful.v.POST = {
    {pattern = '/user/:userid', controller = 'userRestful', action = 'update'},
}

restful.v.PUT = {
    {pattern = '/user/:userid', controller = 'userRestful', action = 'put'},
}

-- GET http://127.0.0.100/user/1
-- Accept: application/vnd.vanillademo.v1.json
--v1 ?
restful.v1.GET = {
    {pattern = '/user/:userid', controller = 'userRestful', action = 'get1'},
}


return restful
